import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import axios from 'axios';
import { api } from './assets/js/api';
import { Toast } from "vant";
import FooterNav from "./components/FooterNav";
import HeaderImg from "./components/HeaderImg";
import Progress from "./components/TSProgress";
import TaskTarget from "./components/TaskTarget";
// 可以顺便绑定到Vue实例
Vue.config.productionTip = false;
Vue.use(FooterNav).use(HeaderImg).use(Progress).use(TaskTarget);
var contact = new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');

Vue.prototype.$routers = router;
Vue.prototype.$axios = axios;
Vue.prototype.$api = api;
Vue.prototype.$Toast = Toast;